package com.ruoyi.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 优惠表
 * </p>
 *
 * @author author
 * @since 2024-08-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_preferential")
public class TbPreferential implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 优惠编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 优惠名称
     */
    private String preferentialName;

    /**
     * 优惠规则
     */
    private String preferentialRule;

    /**
     * 优惠费项
     */
    private String preferentialItem;

    /**
     * 开始日期
     */
    private LocalDate startDate;

    /**
     * 结束日期
     */
    private LocalDate endDate;

    /**
     * 状态
     */
    private String status;

    /**
     * 设置人
     */
    private String setter;

    /**
     * 设置时间
     */
    private LocalDateTime setTime;

    /**
     * 适用账单号
     */
    private String applicableBillNumber;

    /**
     * 适用房屋
     */
    private String applicableRoom;


}
